[INFO] cloning repository https://github.com/0xeb-bp/cve-2020-0796
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xeb-bp/cve-2020-0796" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xeb-bp%2Fcve-2020-0796", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xeb-bp%2Fcve-2020-0796'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6bf942e49c83519038521fe2b46dd580c347a863
[INFO] building 0xeb-bp/cve-2020-0796 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xeb-bp%2Fcve-2020-0796" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xeb-bp/cve-2020-0796 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/0xeb-bp/cve-2020-0796
[INFO] finished tweaking git repo https://github.com/0xeb-bp/cve-2020-0796
[INFO] tweaked toml for git repo https://github.com/0xeb-bp/cve-2020-0796 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/0xeb-bp/cve-2020-0796 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a29e14f8b837997fe926cceafea076a62b57574b5f60e0b4a3755d1e09461b8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6a29e14f8b837997fe926cceafea076a62b57574b5f60e0b4a3755d1e09461b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a29e14f8b837997fe926cceafea076a62b57574b5f60e0b4a3755d1e09461b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a29e14f8b837997fe926cceafea076a62b57574b5f60e0b4a3755d1e09461b8", kill_on_drop: false }`
[INFO] [stdout] 6a29e14f8b837997fe926cceafea076a62b57574b5f60e0b4a3755d1e09461b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ccfe6742d493620c9b4a3cec82f4fdfa3be6693d133e8a1c7f3736cd4842e86a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ccfe6742d493620c9b4a3cec82f4fdfa3be6693d133e8a1c7f3736cd4842e86a", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling ntapi v0.3.3
[INFO] [stderr]    Compiling cve_2020_0796 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntexapi`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ntapi::ntexapi;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `ntexapi` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntrtl`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ntapi::ntrtl;
[INFO] [stdout]    |     ^^^^^^^^^^^^ no `ntrtl` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::psapi::{EnumProcesses, EnumProcessModules, GetModuleBaseNameA};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::ctypes::c_void;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winnt::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::shared::ntstatus::{STATUS_SUCCESS};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::shared::minwindef::{HMODULE, LPVOID};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::{processthreadsapi, memoryapi, handleapi};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STATUS_SUCCESS` in this scope
[INFO] [stdout]   --> src/main.rs:90:19
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if res != STATUS_SUCCESS {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STATUS_SUCCESS` in this scope
[INFO] [stdout]    --> src/main.rs:109:19
[INFO] [stdout]     |
[INFO] [stdout] 109 |         if res != STATUS_SUCCESS {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope
[INFO] [stdout]    --> src/main.rs:156:68
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let ret = unsafe { processthreadsapi::OpenProcessToken(h_proc, TOKEN_QUERY, t_handle as PHANDLE) };
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHANDLE` in this scope
[INFO] [stdout]    --> src/main.rs:156:93
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let ret = unsafe { processthreadsapi::OpenProcessToken(h_proc, TOKEN_QUERY, t_handle as PHANDLE) };
[INFO] [stdout]     |                                                                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STATUS_SUCCESS` in this scope
[INFO] [stdout]    --> src/main.rs:173:18
[INFO] [stdout]     |
[INFO] [stdout] 173 |     while ret != STATUS_SUCCESS {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcesses` in this scope
[INFO] [stdout]    --> src/main.rs:223:24
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let ret = unsafe { EnumProcesses(processes.as_mut_ptr(), 4096, len_ptr) };       
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]    --> src/main.rs:236:64
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, tpid) };
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]    --> src/main.rs:236:92
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, tpid) };
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope
[INFO] [stdout]    --> src/main.rs:241:31
[INFO] [stdout]     |
[INFO] [stdout] 241 |             let ret = unsafe {EnumProcessModules(hprocess, hmodule as *mut HMODULE, 8, len_ptr) };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]    --> src/main.rs:241:76
[INFO] [stdout]     |
[INFO] [stdout] 241 |             let ret = unsafe {EnumProcessModules(hprocess, hmodule as *mut HMODULE, 8, len_ptr) };
[INFO] [stdout]     |                                                                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameA` in this scope
[INFO] [stdout]    --> src/main.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 unsafe { GetModuleBaseNameA(hprocess, *hmodule as HMODULE, pname.as_mut_ptr(), 1024) };
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]    --> src/main.rs:245:67
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 unsafe { GetModuleBaseNameA(hprocess, *hmodule as HMODULE, pname.as_mut_ptr(), 1024) };
[INFO] [stdout]     |                                                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/main.rs:268:60
[INFO] [stdout]     |
[INFO] [stdout] 268 |     let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_ALL_ACCESS, 0, winlogon_pid) };
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/main.rs:275:81
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/main.rs:275:95
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[INFO] [stdout]     |                                                                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]    --> src/main.rs:275:107
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[INFO] [stdout]     |                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/main.rs:316:83
[INFO] [stdout]     |
[INFO] [stdout] 316 |     let f = unsafe { Some(*(&hmem as *const _ as *const unsafe extern "system" fn(LPVOID) -> u32)) };
[INFO] [stdout]     |                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cve_2020_0796`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ccfe6742d493620c9b4a3cec82f4fdfa3be6693d133e8a1c7f3736cd4842e86a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccfe6742d493620c9b4a3cec82f4fdfa3be6693d133e8a1c7f3736cd4842e86a", kill_on_drop: false }`
[INFO] [stdout] ccfe6742d493620c9b4a3cec82f4fdfa3be6693d133e8a1c7f3736cd4842e86a
